package com.system.consultationroom.repository;

import com.system.consultationroom.bean.ConsultationRoom;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @className: PatientRepository
 * @description: 诊室数据库访问接口
 * @author: Li Chuanwei
 * @date: 2023/11/30 15:40
 * @Company: Copyright [日期] by [作者或个人]
 **/

public interface ConsultationRoomRepository extends JpaRepository<ConsultationRoom, Integer> {
    List<ConsultationRoom> findAllByDepartID(Integer DepartID);
}
